/**
 * @param {string} type
 * @returns {Date}
 */
export function getTime(type: string): Date {
  if (type === 'start') {
    return new Date(new Date().getTime() - 3600 * 1000 * 24 * 90)
  } else {
    return new Date(new Date().getTime() + 3600 * 1000 * 24 * 90)
  }
} 